package tr.helper.repository.table;

import tr.helper.repository.annotation.Table;
import java.math.BigDecimal;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * tr-service
 *
 * @author MrYe
 * @date 2022-01-12 16:02
 */
@Table
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Trade {

    private Long id;
    /**
     * 交易商
     */
    private String dealer;
    /**
     * A户口金额
     */
    private BigDecimal balanceA;
    /**
     * B户口保险
     */
    private BigDecimal balanceB;
    /**
     * 状态
     */
    private String status;
    /**
     * 交易日期
     */
    private String tradeDate;
    /**
     * A仓盈利
     */
    private String gainA;
    /**
     * 托管公司
     */
    private String company;

}
